package com.peppa.petshop.service;

import com.peppa.petshop.entity.Good;
import com.baomidou.mybatisplus.extension.service.IService;
import com.peppa.petshop.vo.DataVO;
import com.peppa.petshop.vo.GoodVO;

import java.math.BigDecimal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张三
 * @since 2021-06-02
 */
public interface GoodService extends IService<Good> {

    DataVO<GoodVO> goodList(Integer page, Integer limit);

    void deleteById(Integer id);

    void addImagesPath(Integer goodId, String path);

    void addGood(Good good);

    void editById(Integer goodId, String goodName, BigDecimal price, String introduction);
}
